package com.qfedu.yuxiaoer.mapper;

import com.qfedu.yuxiaoer.entity.SourceUser;
import com.qfedu.yuxiaoer.entity.SourceUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SourceUserMapper {
    long countByExample(SourceUserExample example);

    int deleteByExample(SourceUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SourceUser record);

    int insertSelective(SourceUser record);

    List<SourceUser> selectByExample(SourceUserExample example);

    SourceUser selectByPrimaryKey(Integer id);

    SourceUser getSourceUserByPhone(String phone);

    int updateByExampleSelective(@Param("record") SourceUser record, @Param("example") SourceUserExample example);

    int updateByExample(@Param("record") SourceUser record, @Param("example") SourceUserExample example);

    int updateByPrimaryKeySelective(SourceUser record);

    int updateByPrimaryKey(SourceUser record);
}